package com.moxigua.iotbox.bean;

import java.util.Date;

/**
 * Created by Junerver on 2017/6/6.
 * Feature: 动作的基类
 * Updated:
 */

public class BaseAction {
    private String metric;          //动作类型
    private long timestamp = new Date().getTime()/1000;       //时间戳

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getMetric() {
        return metric;
    }

    public void setMetric(String metric) {
        this.metric = metric;
    }
}
